package com.rp.configure.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rp.configure.entity.Device;
import com.rp.configure.entity.DeviceAttribute;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author vicente
 * @since 2021-07-16
 */
public interface DeviceService extends IService<Device> {

    IPage<Device> listPage(Page page,String gatewayId);

   List<Device> listByGateway(QueryWrapper<DeviceAttribute> queryWrapper);
}
